#! /bin/sh

set -e

update-alternatives --install /usr/lib/libblas.so libblas.so \
	/usr/lib/atlas-corei7sse3/atlas/libblas.so 60 \
	--slave /usr/lib/libcblas.so libcblas.so \
	/usr/lib/atlas-corei7sse3/libcblas.so \
	--slave /usr/lib/liblapack_atlas.so liblapack_atlas.so \
	/usr/lib/atlas-corei7sse3/liblapack_atlas.so \
        --slave /usr/lib/libatlas.so libatlas.so \
        /usr/lib/atlas-corei7sse3/libatlas.so \
    --slave /usr/lib/libcblas.a libcblas.a \
    /usr/lib/atlas-corei7sse3/libcblas.a \
    --slave /usr/lib/libf77blas.so libf77blas.so \
    /usr/lib/atlas-corei7sse3/libf77blas.so \
    --slave /usr/lib/liblapack_atlas.a liblapack_atlas.a \
    /usr/lib/atlas-corei7sse3/liblapack_atlas.a

update-alternatives --install /usr/lib/liblapack.so liblapack.so \
        /usr/lib/atlas-corei7sse3/atlas/liblapack.so 60 \
    --slave /usr/lib/liblapack.a liblapack.a \
    /usr/lib/atlas-corei7sse3/atlas/liblapack.a

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
